1: PDFSplitManager splitManager = new PDFSplitManager();
2:
3: if (repeatToEnd)
4: splitManager.ExtractPagesFromFileToFile(srcPdfFile, outFile,
5: startPageNumber, splitPageCount,
true);
6: else
7: splitManager.ExtractPagesFromFileToFile(srcPdfFile, outFile,
8: startPageNumber, splitPageCount, repeatCount);